package com.yizhuoyan.his.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 帐号登录授权结果
 */
@Data
public class SysAccountAuthorizationResult {
    private Long id;
    private String account;
    private String name;
    private LocalDateTime createTime;
    private LocalDateTime lastLoginTime;
    //主要角色
    private SysRoleSimpleDto mainRole;
    //账户拥有的菜单

    /**
     * 获取当前授权帐号id
     * @return
     */
    static public String getCurrentAuthorizationAccountId(){
        return "1";
    }

}
